.middle > div {
    border: 1px solid red;
}

.title {
    border: 0;
}

.middle > div > div:first-child {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid red;
}

.middle > div > div:first-child > div:nth-child(2) {
    display: flex;

}


.middle > div > div:first-child > div:nth-child(2) > div {
    padding: 0 20px;
    line-height: 41px;
    background-color: rgb(243, 243, 243);

}

.middle > div > div:first-child > div:nth-child(2) > div:hover {
    background-color: rgb(230, 145, 55);
    color: white;
}

/*----------------------------产品内容------------------*/
.middle > div > div:nth-child(2) {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}

.middle > div > div:nth-child(2) > div {
    width: 233px;
    margin: 10px 10px 10px 0;
}

.middle > div > div:nth-child(2) > div > div:first-child {
    width: 233px;
    height: 180px;
}

.middle > div > div:nth-child(2) > div > div:first-child img {
    width: 100%;
    height: 100%;
}

.middle > div > div:nth-child(2) > div > div:nth-child(2) {
    color: gray;
}

/*菜名*/
.middle > div > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(1) {
    font-weight: bolder;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.middle > div > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(2) {
    display: flex;
}

.middle > div > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) {
    color: red;
}

/*材料*/
.middle > div > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(3) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}